#include "Yas.h"
#include "YasDownloadAgent.h"
#include "YasDownloadCoordinator.h"
#include "YasLogger.h"

namespace yas
{

Yas::Yas()
{

}

Yas::~Yas()
{

}

int Yas::start()
{

	YasDownloadConfig conf;
	conf.loadConfigData("/home/wesley/yaws/YAS/resource/submarino.yas");

	YasDownloadAgent agent(&conf);

	YasDownloadCoordinator coord;

	coord.addAgent(&agent);

	coord.startAllAgents();

	return 1;
}
}
